package com.groupseven.backend.mapper;

import com.groupseven.backend.domain.Log.OperationLog;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

@Mapper
public interface OperationLogMapper {
    int insertOperationLog(OperationLog operationLog);

    int deleteOperationLog(String username);

    int deleteOperationLogBycreatetime(String createtime);

    int mutildelBycreatetimelist(List<Date> createtimes);

    List<OperationLog> selectOperationLog();

    List<OperationLog> selectOperationByusername(String username);

    List<OperationLog> selectOperationBycreatetime(String createtime);

    List<OperationLog> selectOperationBystimeandetime(Date stime, Date etime);
}
